package com.wn.pettyloan.mapper;

import com.wn.pettyloan.entity.Contract;
import com.wn.pettyloan.vo.HistogramVo;

import java.util.List;

/**
* @author mi-xu
* @description 针对表【contract】的数据库操作Mapper
* @createDate 2022-12-06 13:35:49
* @Entity com.wn.pettyloan.entity.Contract
*/
public interface ContractMapper {
    List<HistogramVo> histogram();

    int deleteByPrimaryKey(Long id);

    int insert(Contract record);

    int insertSelective(Contract record);

    Contract selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Contract record);

    int updateByPrimaryKey(Contract record);

    List<Contract> selectAll();

}
